//
//  NSObject+Common.m
//  Tools
//
//  Created by han on 2019/2/14.
//  Copyright © 2019 han. All rights reserved.
//

#import "NSObject+Common.h"

@implementation NSObject (Common)

- (BOOL)isValidString {
    if (self == nil || (![self isKindOfClass:[NSString class]])) {
        return NO;
    }
    return [(NSString *)self isEmpty];
}

@end
